home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 July / DPPCPRO0705.ISO / Editorial / Delphi 2005 / SimpleEditor / SimpleEditor.dpr < prev   
Encoding:
Text File  |  2005-03-21  |  3.6 KB  |  91 lines

  1. program SimpleEditor;
  2.  
  3. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.dll'}
  4. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Data.dll'}
  5. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Drawing.dll'}
  6. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.XML.dll'}
  7. {%DelphiDotNetAssemblyCompiler 'c:\program files\common files\borland shared\bds\shared assemblies\3.0\Borland.Vcl.dll'}
  8. {%DelphiDotNetAssemblyCompiler 'c:\program files\common files\borland shared\bds\shared assemblies\3.0\Borland.Delphi.dll'}
  9. {%DelphiDotNetAssemblyCompiler 'c:\program files\common files\borland shared\bds\shared assemblies\3.0\Borland.VclRtl.dll'}
  10.  
  11. uses
  12.   System.Reflection,
  13.   System.Runtime.CompilerServices,
  14.   SysUtils,
  15.   Forms,
  16.   ed in 'ed.pas' {Form1};
  17.  
  18. {$R *.res}
  19.  
  20. {$REGION 'Program/Assembly Information'}
  21. //
  22. // General Information about an assembly is controlled through the following
  23. // set of attributes. Change these attribute values to modify the information
  24. // associated with an assembly.
  25. //
  26.  
  27. [assembly: AssemblyDescription('')]
  28. [assembly: AssemblyConfiguration('')]
  29. [assembly: AssemblyCompany('')]
  30. [assembly: AssemblyProduct('')]
  31. [assembly: AssemblyCopyright('')]
  32. [assembly: AssemblyTrademark('')]
  33. [assembly: AssemblyCulture('')]
  34.  
  35. // The Delphi compiler controls the AssemblyTitleAttribute via the ExeDescription.
  36. // You can set this in the IDE via the Project Options.
  37. // Manually setting the AssemblyTitle attribute below will override the IDE
  38. // setting.
  39. // [assembly: AssemblyTitle('')]
  40.  
  41.  
  42. //
  43. // Version information for an assembly consists of the following four values:
  44. //
  45. //      Major Version
  46. //      Minor Version 
  47. //      Build Number
  48. //      Revision
  49. //
  50. // You can specify all the values or you can default the Revision and Build Numbers 
  51. // by using the '*' as shown below:
  52.  
  53. [assembly: AssemblyVersion('1.0.*')]
  54.  
  55. //
  56. // In order to sign your assembly you must specify a key to use. Refer to the 
  57. // Microsoft .NET Framework documentation for more information on assembly signing.
  58. //
  59. // Use the attributes below to control which key is used for signing. 
  60. //
  61. // Notes: 
  62. //   (*) If no key is specified, the assembly is not signed.
  63. //   (*) KeyName refers to a key that has been installed in the Crypto Service
  64. //       Provider (CSP) on your machine. KeyFile refers to a file which contains
  65. //       a key.
  66. //   (*) If the KeyFile and the KeyName values are both specified, the 
  67. //       following processing occurs:
  68. //       (1) If the KeyName can be found in the CSP, that key is used.
  69. //       (2) If the KeyName does not exist and the KeyFile does exist, the key 
  70. //           in the KeyFile is installed into the CSP and used.
  71. //   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
  72. //       When specifying the KeyFile, the location of the KeyFile should be
  73. //       relative to the project output directory which is
  74. //       Project Directory\bin\<configuration>. For example, if your KeyFile is
  75. //       located in the project directory, you would specify the AssemblyKeyFile 
  76. //       attribute as [assembly: AssemblyKeyFile('..\\..\\mykey.snk')]
  77. //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
  78. //       documentation for more information on this.
  79. //
  80. [assembly: AssemblyDelaySign(false)]
  81. [assembly: AssemblyKeyFile('')]
  82. [assembly: AssemblyKeyName('')]
  83. {$ENDREGION}
  84.  
  85. [STAThread]
  86. begin
  87.   Application.Initialize;
  88.   Application.CreateForm(TForm1, Form1);
  89.   Application.Run;
  90. end.
  91.